home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Net Power 1997 March
/
NetPower_3-97.mdf
/
newtools
/
realau
/
raplay~1
/
RealAudio Daemon.rsrc
/
CODE_17_UtilMain.txt
< prev
next >
Wrap
Text File
|
1996-04-03
|
22KB
|
406 lines
# near model CODE resource
# jump table entries: 40-41 (2 of them)
00000000 0000 0028 ori.b D0, 0x28 /* '(' */
00000004 0000 03E8 ori.b D0, 0xE8
fn00000008:
00000008 4E56 FFFC link A6, -0x0004
0000000C 594F subq.w A7, 4
0000000E 3F3C AA6E move.w -[A7], 0xAA6E
00000012 1F3C 0001 move.b -[A7], 0x1
00000016 4EB9 0000 0238 jsr [0x00000238]
0000001C 205F movea.l A0, [A7]+
0000001E 2D48 FFFC move.l [A6 - 0x4], A0
00000022 594F subq.w A7, 4
00000024 3F3C A86E move.w -[A7], 0xA86E
00000028 1F3C 0001 move.b -[A7], 0x1
0000002C 4EB9 0000 0238 jsr [0x00000238]
00000032 205F movea.l A0, [A7]+
00000034 B1EE FFFC cmpa.l A0, [A6 - 0x4]
00000038 6606 bne +0x8 /* 00000040 */
0000003A 303C 0200 move.w D0, 0x200
0000003E 6004 bra +0x6 /* 00000044 */
label00000040:
00000040 303C 0400 move.w D0, 0x400
label00000044:
00000044 4E5E unlink A6
00000046 4E75 rts
00000048 8F4E 756D pack -[A7], -[A6], 0x756D
0000004C 546F 6F6C addq.w [A7 + 0x6F6C], 2
00000050 626F bhi +0x71 /* 000000C1 */
00000052 7854 moveq.l D4, 0x54
00000054 7261 moveq.l D1, 0x61
00000056 7073 moveq.l D0, 0x73
00000058 0000 302F ori.b D0, 0x2F /* '/' */
// begin alternate branch 0000005A-00000064
fn0000005A:
0000005A 302F 0004 move.w D0, [A7 + 0x4]
0000005E 0280 0000 0800 andi.l D0, 0x800
// end alternate branch 0000005A-00000064
fn0000005A: // (misaligned)
0000005C 0004 0280 ori.b D4, 0x80
00000060 0000 0800 ori.b D0, 0x0
00000064 6604 bne +0x6 /* 0000006A */
00000066 7000 moveq.l D0, 0x00
00000068 4E75 rts
label0000006A:
0000006A 7001 moveq.l D0, 0x01
0000006C 4E75 rts
0000006E 8B47 6574 pack D5, D7, 0x6574
00000072 5472 6170 5479 7065 addq.w [A2 + 0x54797065], 2
0000007A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000007C-00000080
fn0000007C:
0000007C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000007C-00000080
fn0000007C: // (misaligned)
0000007E FFFC .invalid <<F/7/7>>
00000080 48E7 1800 movem.l -[A7], D3,D4
00000084 362E 0008 move.w D3, [A6 + 0x8]
00000088 3F03 move.w -[A7], D3
0000008A 4EBA FFCE jsr [PC - 0x32 /* 0000005A */]
0000008E 1800 move.b D4, D0
00000090 0C04 0001 cmpi.b D4, 0x1
00000094 544F addq.w A7, 2
00000096 6610 bne +0x12 /* 000000A8 */
00000098 4EBA FF6E jsr [PC - 0x92 /* 00000008 */]
0000009C 0243 07FF andi.w D3, 0x7FF
000000A0 B640 cmp.w D3, D0
000000A2 6D04 blt +0x6 /* 000000A8 */
000000A4 363C A89F move.w D3, 0xA89F
label000000A8:
000000A8 594F subq.w A7, 4
000000AA 3F03 move.w -[A7], D3
000000AC 1F04 move.b -[A7], D4
000000AE 4EB9 0000 0238 jsr [0x00000238]
000000B4 205F movea.l A0, [A7]+
000000B6 2D48 FFFC move.l [A6 - 0x4], A0
000000BA 594F subq.w A7, 4
000000BC 3F3C A89F move.w -[A7], 0xA89F
000000C0 1F3C 0001 move.b -[A7], 0x1
000000C4 4EB9 0000 0238 jsr [0x00000238]
000000CA 205F movea.l A0, [A7]+
000000CC B1EE FFFC cmpa.l A0, [A6 - 0x4]
000000D0 56C0 sne D0
000000D2 4400 neg.b D0
000000D4 49C0 lea.l A4, D0
000000D6 4CDF 0018 movem.l D3,D4, [A7]+
000000DA 4E5E unlink A6
000000DC 4E75 rts
000000DE 8A54 or.w D5, [A4]
000000E0 7261 moveq.l D1, 0x61
000000E2 7045 moveq.l D0, 0x45
000000E4 7869 moveq.l D4, 0x69
000000E6 7374 moveq.l D1, 0x74
000000E8 7300 moveq.l D1, 0x00
000000EA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000EC-000000F0
fn000000EC:
000000EC 4E56 FFEC link A6, -0x0014
// end alternate branch 000000EC-000000F0
fn000000EC: // (misaligned)
000000EE FFEC .invalid <<F/7/7>>
000000F0 7001 moveq.l D0, 0x01
000000F2 41EE FFF0 lea.l A0, [A6 - 0x10]
000000F6 A090 syscall SysEnvirons
000000F8 554F subq.w A7, 2
000000FA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000000FE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000102 2F2E 000C move.l -[A7], [A6 + 0xC]
00000106 486E FFEC pea.l [A6 - 0x14]
0000010A 4EB9 0000 02B8 jsr [0x000002B8]
00000110 301F move.w D0, [A7]+
00000112 48C0 ext.l D0
00000114 670C beq +0xE /* 00000122 */
00000116 206E 0008 movea.l A0, [A6 + 0x8]
0000011A 4250 clr.w [A0]
0000011C 206E 000C movea.l A0, [A6 + 0xC]
00000120 4290 clr.l [A0]
label00000122:
00000122 4E5E unlink A6
00000124 4E75 rts
00000126 8F47 6574 pack D7, D7, 0x6574
0000012A 5379 7374 656D subq.w [0x7374656D], 1
00000130 466F 6C64 not.w [A7 + 0x6C64]
00000134 6572 bcs +0x74 /* 000001A8 */
00000136 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000138-0000013C
fn00000138:
00000138 4E56 FFFC link A6, -0x0004
// end alternate branch 00000138-0000013C
fn00000138: // (misaligned)
0000013A FFFC .invalid <<F/7/7>>
0000013C 48E7 1030 movem.l -[A7], D3,A2,A3
00000140 266E 0008 movea.l A3, [A6 + 0x8]
00000144 246E 000C movea.l A2, [A6 + 0xC]
00000148 7600 moveq.l D3, 0x00
0000014A 3F3C A1AD move.w -[A7], 0xA1AD
0000014E 4EBA FF2C jsr [PC - 0xD4 /* 0000007C */]
00000152 4A00 tst.b D0
00000154 544F addq.w A7, 2
00000156 6714 beq +0x16 /* 0000016C */
00000158 203C 666F 6C64 move.l D0, 0x666F6C64 /* 'fold' */
0000015E 43EE FFFC lea.l A1, [A6 - 0x4]
00000162 A1AD syscall Gestalt, flags=1
00000164 2288 move.l [A1], A0
00000166 48C0 ext.l D0
00000168 6602 bne +0x4 /* 0000016C */
0000016A 7601 moveq.l D3, 0x01
label0000016C:
0000016C 4A03 tst.b D3
0000016E 660C bne +0xE /* 0000017C */
00000170 2F0A move.l -[A7], A2
00000172 2F0B move.l -[A7], A3
00000174 4EBA FF76 jsr [PC - 0x8A /* 000000EC */]
00000178 504F addq.w A7, 8
0000017A 6020 bra +0x22 /* 0000019C */
lab